--[[ * 禁锢（加时间）]]

---@class BuffEffect4203100 : BaseBuffEffect
BuffEffect4203100 = ClientFight.CreateClass("BuffEffect4203100", ClientFight.BaseBuffEffect)
local t = BuffEffect4203100

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local parameters = {...};
    local addFrame = buff.buffBean.f_BuffEffectValue[1] / Global.FIGHT_FRAME;

    local fighter = buff.source;
    local summonsExpireFrame = fighter.summonsExpireFrame;
    if (summonsExpireFrame > 0) then
        fighter.setSummonsExpireFrame(math.min(summonsExpireFrame + addFrame, fight.frame + fighter.lifeFrame));
    end

    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()